package com.wms.springTask;

import org.apache.log4j.Logger;
import org.springframework.scheduling.annotation.Scheduled;
import org.springframework.stereotype.Component;

@Component
public class Quartz {
	
	private static final Logger logger = Logger.getLogger(Quartz.class);
	
	@Scheduled(cron = "59 * * * * ?")
	public void cout(){
		logger.error("spring-task  --> cout");
	}
}
